<?php
try {
    $dbh = new PDO('mysql:host=localhost;dbname=feospsqg4rf', "root", "123456",[]);
} catch (PDOException $exec) {
    //如果出现错误，会抛出一个`PDOException`类型的错误
    header('Content-Type: text/plain');
    print_r($exec);
    exit;
}
